package com.javayh.service;

import com.javayh.entity.Role;
import com.javayh.entity.User;

import java.util.Map;

/**
 * @author Dylan Yang
 * @Title: ILoginService
 * @ProjectName moon
 * @Description: TODO
 * @date 2018/10/416:39
 */
public interface ILoginService {

    public User findByName(String name);

    Role addRole(Map<String, Object> map);

    User addUser(Map<String, Object> map);
}

